package com.issac.service;

import com.issac.common.R;
import com.issac.entity.Accessory;
import org.springframework.stereotype.Service;

/**
 * @ClassName AccessoryService
 * @Author zy
 * @Date 2021/11/5 20:06
 * @Description AccessoryService
 * @Version 1.0
 */
public interface AccessoryService {

    R getAccessoryByFruitId(int id);

    R addAccessory(Accessory accessory);

    R updateAccessory(Accessory accessory);

    R deleteAccessory(Accessory[] accessoryList);
}
